MPHB\Widgets\RoomsWidget S

Total Complexity 38
Dependencies 2
Dependents 1
Total lines 242
Lines of code 161
Logical lines of code 107
Comment lines 33
Methods 10
Properties 7

Methods 10

Method Rating Maintainability Complexity Lines of code
update()
A
58 17 12
widget()
A
46 7 37
form()
S
43 4 55
renderRoom()
S
54 1 21
isValidRoom()
S
77 2 3
sanitizeRoomTypeIdsArray()
S
68 2 7
sanitizeRoomTypeId()
S
75 2 4
__construct()
S
65 1 10
getMainQuery()
S
65 1 9
enqueueScriptStyles()
S
81 1 3